

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>

</title><link href='./home/css/etm.css' rel='stylesheet' type='text/css' /><!--[if IE 8]> <link href='/Themes/Theme3/ie8Fix.css' rel='stylesheet' /> <![endif]-->

    <script src="./home/js/WdatePicker.js"></script>
    <script src="./home/js/jquery-1.4.2.min.js"></script>
    <script src="./home/js/flexigrid.js"></script>
    <script src="./home/js/jQuery.Ex.js"></script>
    <script src="./home/js/jQuery.etmLinks.js"></script>
    <meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE"/><script src='./home/js/jquery.nicescroll.min.js' type='text/javascript'></script><script type='text/javascript'>var isEtmClient=false;function ReSizeScrollbar() { if ($('form').getNiceScroll().length > 0) {     $('form').getNiceScroll().onResize();}}function ReSizeFlexgridScrollbar() { if ($('.bDiv').getNiceScroll().length > 0) {     $('.bDiv').getNiceScroll().onResize();}}function InitFlexgridScrollbar(){     $('.bDiv').niceScroll({cursorcolor: '#75A801',zindex:4});}function ReSizenDivScrollbar() { if ($('.flexigrid .nDiv').getNiceScroll().length > 0) {     $('.flexigrid .nDiv').getNiceScroll().onResize();}}function InitnDivScrollbar(){     $('.flexigrid .nDiv').niceScroll({cursorcolor: '#75A801',horizrailenabled:false});}function proxyExecuteFun(funName) {if(funName == undefined || funName==null|| funName.length==0){window.parent.showsending(true, "执行中，请耐心等待");setTimeout(function() { window.parent.showsending(false); }, 5000);return;}  if (window[funName]()) {window.parent.showsending(true, "执行中，请耐心等待");setTimeout(function() { window.parent.showsending(false); }, 5000);return true; } return false; };var _tmpOnSelectedFile = null;function onSelectedFile(fileName, fileUrl, isImg) {   if (_tmpOnSelectedFile != null) {        _tmpOnSelectedFile(fileName, fileUrl, isImg);    }}function showFileList(callback) {   window.parent.showDialog('查看素材库', '/Modules/OA/CMyFileListView.aspx?navId=80aad382-0213-412f-a549-6156fd6ecfc0', '900px', '450px');   _tmpOnSelectedFile = callback;}$(function () {if (navigator.userAgent.toLowerCase().indexOf('edge/') != -1) { $('input[type=submit],.tmpSubmitButton').bind({ mouseenter: function () { $(this).addClass('tmpSubmitButton'); $(this).prop('type', 'button'); }, mouseleave: function () { $(this).removeClass('tmpSubmitButton'); $(this).prop('type', 'submit'); }, click: function () { $(this).removeClass('tmpSubmitButton'); $(this).prop('type', 'submit'); } }); }if (window.parent != undefined && window.parent != null && typeof window.parent.showsending != "undefined") { window.parent.showsending(false, ''); }$(".button").each(function() { if ($(this).attr("type") == "submit" &&!$(this).hasClass('noloading') && window.parent != undefined && window.parent != null && typeof window.parent.showsending != "undefined") { var tmpClick = $(this).attr("onclick");if(tmpClick == undefined || tmpClick==null|| tmpClick.length<2){ $(this).attr("onclick","proxyExecuteFun();");return;}  if (tmpClick.indexOf("return ") != -1 && tmpClick.indexOf("(") != -1) { tmpClick = tmpClick.substring(7).replace(/\s+/g, ''); if (tmpClick.indexOf("()") != -1) { var funName = tmpClick.substring(0, tmpClick.indexOf("(")); $(this).attr("onclick","return proxyExecuteFun('" + funName + "');"); } } } });$('body').click(function() {     if (typeof parent.onChildPageClick !='undefined') {         parent.onChildPageClick();     }});     $('form').height($(window).height()-0).niceScroll({cursorcolor: '#75A801',horizrailenabled:false });     $(window).resize(function () {         ReSizeScrollbar();     });});</script>
    <script type="text/javascript">
        function ShowInfo(memberGuid) {
            window.parent.showDialog("幼儿资料查看", "../Modules/CRM/CInfo.aspx?memberGuid=" + memberGuid, "976px", "450px");
        }
        function link(status) {
            switch (status) {
                case 0:
                case 1:
                case 2:
                case 3:
                case 4:
                case 5:
                    $("#hfFlag").val(status);
                    break;
            }
            RefreshGrid();
        }
        $(function () {
            $("#linkContent").etmLinks({
                item: [
                    { Text: "全部", Url: "javascript:link(0);", Selected: true },
                    { Text: "今天", Url: "javascript:link(1);" },
                    { Text: "昨天", Url: "javascript:link(2);" },
                    { Text: "近3天", Url: "javascript:link(3);" },
                    { Text: "近1周", Url: "javascript:link(4);" },
                    { Text: "近1个月", Url: "javascript:link(5);" }
                ]
            });

            $(".FollowDelete").live("click", function () {
                if (confirm("确定要删除吗？")) {
                    $.AjaxETM("CFollowDelete", { "FollowGuid": $(this).attr("FollowGuid"), "MemberName": $(this).attr("MemberName") },
                        function (data) {
                            alert(data);
                        },
                         true, "text");
                }
            });
            $(".AppointConfirm").live("click", function () {
                if (confirm("确定要完成吗？")) {
                    $.AjaxETM("CAppointConfirm", { "FollowGuid": $(this).attr("FollowGuid"), "MemberName": $(this).attr("MemberName") },
                    function (data) {
                        alert(data);
                    },
                        true, "text");
                }
            });
        });
    </script>
</head>
<body>
    <form method="post" action="CFollowList.aspx?navId=80aad382-0213-412f-a549-6156fd6ecfc0" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTU4MDcyODQyNg9kFgICAw9kFgICAg8QZBAVBQnor7fpgInmi6kG55+t5L+hB1dhbGsgSW4HQ2FsbCBJbghDYWxsIE91dBUFJDAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCQxY2NmNjViMy02M2NlLTQyNmMtYmE3Zi1mNmNiNTc0OTZlMGMkODFlZmJlMTUtNmE1YS00YmY0LWFmMTEtMDZlMzdlYTZlODVmJGMwYjlhN2IyLTM5ZGUtNDM2MS05OTkzLTFhMjhiODZlNDE5YSQzZWRjM2E1My01YWIzLTQzOWEtYjQwYy04Mjk0YThjM2NmZWMUKwMFZ2dnZ2dkZGSluix9iQ3Izxm80IlyACwxXUHZjyfH9klkycFZT8W4cw==" />
</div>

<div class="aspNetHidden">

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="51FE49A9" />
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdABFyvb+3O4v/x0IZiumc+yPXwbWcWjsk0Hi4tlQTi7IWGF40HVR+1nvpuXknsZZZWMRrk3gc7Q18FeXMhHJImnuRRrBUg/8ns2s12M9Sfsjf2Z2VCGF/H6VfRMMQ1ye/TOI3fPsbkoTI9kE67FExKsLLYJ7D4nH/DlpLDuvhN4LnF9Z+UGBEX4roDyyGDJdTOgRyEJZu0+gj78l6TRSA9PtBxTzzoV8QUARdyB6wSmydF9P9MCZiCJUHGUieiWIdrb/yj9jmswa9H+/TjjICeOO3AGC6JD3kCfW5Uo3QV8QfNs8foUNn5xuI8xiqh9enYIJq2RRjQP2mz57766Jx5GbhPNZC87fsvfiEZ5/W/93e5yE7b+cCXM45jdR9KB6qWMg4duaPZ0ayQcD1ymxQWwg3" />
</div>
        <table class="search">
            <tr>
                 <td class="textAlignRight" style="width:96px;">
                    <select name="ddlField" id="ddlField">
	<option value="MemberName">幼儿姓名</option>
	<option value="FollowContent">跟进内容</option>
	<option value="CreatorName">跟进人</option>

</select>
                </td>
                <td class="borderRight" style="width:160px;">
                    <input name="tbFieldValue" type="text" id="tbFieldValue" class="int" />
                </td>
                
                <td class="textAlignRight" style="width:78px;">
                    跟进方式：
                </td>
                <td class="borderRight"  style="width:162px;">
                    <select name="ddlFollowWay" id="ddlFollowWay" class="int">
	<option value="00000000-0000-0000-0000-000000000000">请选择</option>
	<option value="1ccf65b3-63ce-426c-ba7f-f6cb57496e0c">短信</option>
	<option value="81efbe15-6a5a-4bf4-af11-06e37ea6e85f">Walk In</option>
	<option value="c0b9a7b2-39de-4361-9993-1a28b86e419a">Call In</option>
	<option value="3edc3a53-5ab3-439a-b40c-8294a8c3cfec">Call Out</option>

</select>
                </td>
                <td class="textAlignRight" style="width:78px;">
                    跟进时间：
                </td>
                <td class="borderRight">
                    <input name="tbStartDate" type="text" id="tbStartDate" class="int" onfocus="WdatePicker({dateFmt:&#39;yyyy-MM-dd&#39;})" style="width:65px;" /> - 
                    <input name="tbEndDate" type="text" id="tbEndDate" class="int" onfocus="WdatePicker({dateFmt:&#39;yyyy-MM-dd&#39;})" style="width:65px;" />
                </td>
            </tr>
            <tr>
                <td class="textAlignRight">
                    最近：
                </td>
                <td class="borderRight">
                    <span id="lbLastDays" style="margin:0 10px 0 0;"><input name="tbLastDays" type="text" id="tbLastDays" class="int" style="width:60px;" /> 天的记录
                    </span>
                </td>
                <td class="textAlignRight">
                    <span class="followStatus">状态：</span>
                </td>
                <td class="borderRight">
                    <span class="followStatus">
                        <select name="ddlDoStatus" id="ddlDoStatus" class="int" style="width:144px;">
	<option value="-1">请选择</option>
	<option value="0">未处理</option>
	<option value="1">已完成</option>

</select>
                     </span>
                </td>
                <td></td>
                <td >
                    <input type="button" class="button" id="btnSearch" value="搜 索" />
                    <input type="hidden" name="hfFlag" id="hfFlag" value="0" />
                </td>
            </tr>
        </table>
        <div id="linkContent"></div>
        <table id='Test' style='display:none;'></table><input type='text' style='display:none;' id='etmparams' name='etmparams' value='[{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":"FollowAct","Display":"操作","Name":"MemberFollowGuid,NextFollowTime,DoStatus,CreatorGuid,MemberName","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"幼儿姓名","Name":"MemberName","Width":104,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":true,"LinkStrForamtBindColumn":"MemberGuid","LinkStrForamt":"javascript:ShowInfo(\"{0}\")","LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"跟进方式","Name":"FollowWayInfo","Width":80,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"跟进内容","Name":"FollowContent","Width":300,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"left","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"下次跟进时间","Name":"NextFollowTime","Width":120,"Sortable":true,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"跟进时间","Name":"CreateTime","Width":120,"Sortable":true,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"跟进人","Name":"CreatorName","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":"FollowStatus","Display":"状态","Name":"DoStatus,NextFollowTime","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false}]'/><input type='text' style='display:none;' id='etmUrlparams' name='etmUrlparams' value='[{"Key":"navId","Value":"80aad382-0213-412f-a549-6156fd6ecfc0"}]'/><input type='text' style='display:none;' id='etmPageUrl' name='etmPageUrl' value='http://vip.yj.etmcn.com/Modules/CRM/CFollowList.aspx?navId=80aad382-0213-412f-a549-6156fd6ecfc0'/><input type='text' style='display:none;' id='pagename' name='pagename' value='CFollowList'/><input type='text' style='display:none;' id='pageamethod' name='pageamethod' value='CFollowListCFollowList'/><script type='text/javascript'> var etmFormId='form1';function fixIE9() {if ($.browser.msie && $.browser.version == 9) {$('#form1 select').each(function () {var name = $(this).attr('name');if (name != undefined && name.length > 0) {var value = $(this).val();if (value == null) {value = $(this).find('option:first').attr('value');$(this).val(value);}}});}}function RefreshGrid(){ $('#Test').flexOptions().flexReload(); };function addFormData() {fixIE9(); var dt = $('#form1').serializeArray(); $('#Test').flexOptions({ params: dt }); return true; }$(function () { $('#btnSearch').click(function () { $('#Test').flexOptions({ newp: 1 }).flexReload(); return false; }); });$('#Test').flexigrid({url: './data/CFollowList.json',sortname: 'CreateTime',sortorder: 'desc',usepager: true,useRp: true,rpOptions: [20,30,50,100,200],rp: 30,colModel: [{ display: '操作', name: 'MemberFollowGuid,NextFollowTime,DoStatus,CreatorGuid,MemberName',etmname:'FollowAct', width: 100, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '幼儿姓名', name: 'MemberName',etmname:'MemberName', width: 104, sortable: false, align: 'Center', checkbox: false ,IsLink:true,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '跟进方式', name: 'FollowWayInfo',etmname:'FollowWayInfo', width: 80, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '跟进内容', name: 'FollowContent',etmname:'FollowContent', width: 300, sortable: false, align: 'left', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '下次跟进时间', name: 'NextFollowTime',etmname:'NextFollowTime', width: 120, sortable: true, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '跟进时间', name: 'CreateTime',etmname:'CreateTime', width: 120, sortable: true, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '跟进人', name: 'CreatorName',etmname:'CreatorName', width: 100, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '状态', name: 'DoStatus,NextFollowTime',etmname:'FollowStatus', width: 100, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false}],width: $(window).width(),height: $(window).height()-245+60,onSubmit: addFormData});</script>
    </form>
</body>
</html>
